package com.rc.evcharger.vo.charge;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Arrays;

/**
 * Create by Yang on 2019/11/12
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE)
public class CommandCurrDataReq {

    @JsonProperty
    private String tenantCode;

    @JsonProperty
    private Long elecPileId;

    @JsonProperty
    private Long memberId;

    @JsonProperty
    private String gunNum;

    @JsonProperty
    private String[] code;


    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public Long getElecPileId() {
        return elecPileId;
    }

    public void setElecPileId(Long elecPileId) {
        this.elecPileId = elecPileId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getGunNum() {
        return gunNum;
    }

    public void setGunNum(String gunNum) {
        this.gunNum = gunNum;
    }

    public String[] getCode() {
        return code;
    }

    public void setCode(String[] code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "CommandCurrDataReq{" +
                "tenantCode='" + tenantCode + '\'' +
                ", memberId=" + memberId +
                ", gunNum='" + gunNum + '\'' +
                ", code=" + Arrays.toString(code) +
                '}';
    }
}
